//
//  CalculatorAppAppDelegate.m
//  CalculatorApp
//
//  Created by Michael Geering on 26/02/2010.
//  Copyright SDC 2010. All rights reserved.
//

#import "CalculatorAppAppDelegate.h"
#import "CalculatorAppViewController.h"

@implementation CalculatorAppAppDelegate

@synthesize window;
@synthesize viewController;



- (void)applicationDidFinishLaunching:(UIApplication *)application {    
    
	CalculatorAppViewController *controller = [[CalculatorAppViewController alloc]
											   initWithNibName:@"CalculatorAppViewController" bundle:nil];
	self.viewController = controller;
	[controller release];
	
	viewController.view.frame = [UIScreen mainScreen].applicationFrame;
    [window addSubview:viewController.view];
    [window makeKeyAndVisible];
	

}


- (void)dealloc {
    [viewController release];
    [window release];
    [super dealloc];
}


@end
